﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace ExcellData
{
	public interface IWorkbook
	{
		IWorksheet ActiveSheet { get; }
		ISheets Sheets { get; }
		void Close();
	}
	public interface IWorksheet
	{
		string Name { get; set; }
		void Delete();
		void SaveAs(string path);
		IExcelRange get_Range(object Cell1, object Cell2);
	}
	public interface ISheets : IEnumerable
	{
		object this[int index] { get; }
	}

	public interface IExcelRange
	{
		IExcelRange get_Resize(object RowSize, object ColumnSize);
		void set_Value(object value);
		void AutoFit();
		void Merge();
		void FillBorders(EExcelLineStyle lineStyle, EExcelBorderWeight weight);
		void BorderAround(EExcelLineStyle lineStyle, EExcelBorderWeight weight);
		EExcelHorizontalAlign HorizontalAlignment { get; set; }
		IExcelRange EntireColumn { get; }
		IExcelRange EntireRow { get; }
	}
}
